package com.margo.project.zipkin.mysql.mybatis.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.margo.project.zipkin.mysql.mybatis.mapper.ExternalUserMapper;
import com.margo.project.zipkin.mysql.mybatis.model.ExternalUser;



/**
 * 
 * @author fangxingbang
 *
 */
@Service
public class ExternalUserService {
	
	@Autowired
	private ExternalUserMapper externalUserMapper;
	
	public ExternalUser read(String phone,String identityCard) {
		ExternalUser externalUser=externalUserMapper.readExternalUser(phone, identityCard);
		return externalUser;
	}
}
